package com.endbd.purchase.manage.product.dao;

import com.endbd.feignapi.model.purchase.CProduct;
import com.endbd.purchase.manage.product.model.ProductCondition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IProductDao {


    public List<CProduct> queryProductCondition(ProductCondition pcon);

    public void addProduct(CProduct product);

    public void alterProduct(CProduct product);

    public void recoveryProduct(Integer productId);

    public void logProduct(Integer productId);
}
